/*
* jlb
*/
package com.jlb.jlb.entity;

import lombok.Data;

import java.util.Date;

/**
 * 金兰宝矿石转账记录 的实体类
 *
 * @author jlb
 */
@Data
public class JlbOreLog implements java.io.Serializable {

    private Long id;//数据库字段:id  属性显示:

    private String outUserCode;//数据库字段:outUserCode  属性显示:转出账户编码

    private String inUserCode;//数据库字段:inUserCode  属性显示:转入账户编码

    private Integer num;//数据库字段:num  属性显示:数量

    private String type;//数据库字段:type  属性显示:类型 金兰宝  JLB ,矿石 ORE

    private String event;//数据库字段:event  属性显示:事件：转账 Transfer，复投 Re_Cast，押金 Deposit，押金返还 Deposit_Return

    private Integer beforeOutNum;//数据库字段:beforeOutNum  属性显示:转出前转出用户数量

    private Integer afterOutNum;//数据库字段:afterOutNum  属性显示:转出后转出用户数量

    private Integer beforeInNum;//数据库字段:beforeInNum  属性显示:转入前转入用户数量

    private Integer afterInNum;//数据库字段:afterInNum  属性显示:转入后转入用户数量

    private java.util.Date createTime;//数据库字段:createTime  属性显示:转账时间

    private java.util.Date createTimeBegin;//数据库字段:createTime  属性显示:转账时间
    private java.util.Date createTimeEnd;//数据库字段:createTime  属性显示:转账时间

    private String outAccount;//转出账户
    private String inAccount;//转出账户

    public JlbOreLog() {
    }

    public JlbOreLog(String outUserCode, String inUserCode, Integer num, String type, String event, Integer beforeOutNum,
                     Integer afterOutNum, Integer beforeInNum, Integer afterInNum) {
        this.outUserCode = outUserCode;
        this.inUserCode = inUserCode;
        this.num = num;
        this.type = type;
        this.event = event;
        this.beforeOutNum = beforeOutNum;
        this.afterOutNum = afterOutNum;
        this.beforeInNum = beforeInNum;
        this.afterInNum = afterInNum;
        this.createTime = new Date();
    }
}
